<template>
  <section class="banner">
    <!--<van-swipe :autoplay="3000">-->
      <!--<van-swipe-item>-->
        <img :src="imgSrc" alt="">
      <!--</van-swipe-item>-->
    <!--</van-swipe>-->
  </section>
</template>

<script>
// import { Swipe, SwipeItem } from 'vant';

export default {
  name: 'Banner',
  props: {
    imgSrc: {
      type: String,
      default: '',
    },
    components: {
      // [Swipe.name]: Swipe,
      // [SwipeItem.name]: SwipeItem,
    },

  },
};
</script>
<style lang="scss" scoped>
  .banner{
    height: 218px;
    width: 100vw;
    overflow: hidden;
    img{
      width: 100%;
      height: 100%;
    }
  }
</style>
